import request from '../utils/request.js'

export const getPlans = () => {
  return request({
    url: '/plans',
    method: 'GET'
  })
}

export const getPlanDetail = (typeCode) => {
  return request({
    url: `/plans/${typeCode}`,
    method: 'GET'
  })
}

